<template>
    <div class="error-wrapper">
      <div class="error-container">
        <div class='error-img'></div>
        <p class="error-text"><a href="/index">返回首页</a></p>
      </div>
    </div>
</template>

<script>
    export default {
      name: 'Error404'
    }
</script>

<style scoped>
  .error-wrapper .error-container{
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
  }
  .error-wrapper .error-container .error-img{
    background: url('/static/images/404.png') no-repeat center 100%;
    background-size:contain;
    width: 200px;
    height: 250px;
    margin: 0 auto 25px;
  }
  .error-wrapper .error-container .error-text{
    text-align:center;
    font-size:17px;
  }
  .error-wrapper .error-container .error-text a{
    color: #25cc68;
  }
</style>
